<include file="Common/common" />
<?php $typeArr = array('1'=>'+','2'=>'-'); ?>

<body>
	<div class="layui-tab-item layui-show">
		<div class="layui-main">
			<br>
			<div style="overflow-x: auto;">
				<table class="layui-table" style="color: rgb(240,222,112);" >
					<thead>
							<tr style="background: rgb(57,61,73)">
								<th>编号</th>
								<th>交易秘钥</th>
								<th>交易前秘钥</th>
								<th>交易后秘钥</th>
								<th>交易时间</th>
								<th>备注</th>
							</tr> 
						</thead>
						<tbody>
							<foreach name="keytaskList" item="vo">
								<tr style="background: #7d7d7d;color:rgb(240,222,112);">
									<td>{$vo['id']}</td>
									<td>{$typeArr[$vo['type']]}{$vo['money']}</td>
									<td>{$vo['old_money']}</td>
									<td>{$vo['new_money']}</td>
									<td><?php echo date('Y-m-d H:i:s',$vo['createtime']);?></td>
									<td>{$vo['remark']}</td>
								</tr>
							</foreach>
						</tbody>
				</table>
			</div>
			<div class="green-black">{$page}</div>
		</div>
	</div>
</body>
<include file="Common/footer" />